﻿<UserControl x:Class="WordsAsap.Pages.About"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
              xmlns:local="clr-namespace:WordsAsap.Pages.ViewModels" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.DataContext>
        <local:AboutViewModel/>
    </UserControl.DataContext>
    <Grid>
        <ScrollViewer>
            <StackPanel MinWidth="200">
                <TextBlock Text="ABOUT" Style="{StaticResource Heading2}" />
                <TextBlock Margin="0,0,0,8" TextWrapping="Wrap">
                    <Run Text="Author: "/>
                    <Run Text="{Binding Author, Mode=OneWay}"/>
                    <LineBreak/>
                    <Run Text="Version: "/>
                    <Run Text="{Binding Version, Mode=OneWay}"/>
                    <LineBreak/>
                    <Run Text="File Version: "/>
                    <Run Text="{Binding FileVersion, Mode=OneWay}"/>
                </TextBlock>
                
            </StackPanel>
        </ScrollViewer>
    </Grid>
</UserControl>
